package com.user.mediacoderdemo;

import android.media.MediaExtractor;

import java.util.List;

/**
 * Created by zoudong on 2017/2/7.
 */

public class MediaOperateData {

    public  long duration; //总时间
    public  String output; //输出地址
    public List<MediaExtracts> mediaExtractses;

    @Override
    public String toString() {
        return "MediaOperateData{" +
                "duration=" + duration +
                ", output='" + output + '\'' +
                ", mediaExtractses=" + mediaExtractses +
                '}';
    }

    static class MediaExtracts{
        public static final String VIDEO = "video/";
        public static final String M4A = "audio/";
        public long start_duration; //起始时间
        public long end_duration;//结束时间
        public MediaExtractor extractor; //分离器
        public int trackindex; //合并后的 track
        public String tag;

        @Override
        public String toString() {
            return "MediaExtracts{" +
                    "start_duration=" + start_duration +
                    ", end_duration=" + end_duration +
                    ", extractor=" + extractor +
                    ", trackindex=" + trackindex +
                    ", tag='" + tag + '\'' +
                    '}';
        }
    }
}
